package org.nf.ssm.service;

import com.github.pagehelper.PageInfo;
import jakarta.servlet.http.HttpSession;
import org.nf.ssm.domain.Admin;

/**
 * @author zhu
 * @date 2024-10-14
 */
public interface AdminService {

    Admin auth(Admin admin, HttpSession session);

    PageInfo<Admin> getAllAdmin(Integer pageNum, Integer pageSize);

    void addAdmin(Admin admin);

    void updateAdmin(Admin admin);

    void deleteAdmin(Integer adminId);
}
